//////////////////////////////////////////////////////////////////////////////////////////
//   _  _ ____ _  _ ___  ____                                                           //
//   |_/  |__| |\ | |  \ |  |    This file belongs to Kando, the cross-platform         //
//   | \_ |  | | \| |__/ |__|    pie menu. Read more on github.com/kando-menu/kando     //
//                                                                                      //
//////////////////////////////////////////////////////////////////////////////////////////

// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: MIT

@use '../../variables.scss' as *;
@use '../../mixins.scss' as *;

.input {
  @include text-input;
  min-width: 0px;
  width: 100%;

  &.flat {
    background-color: transparent;
    text-align: center;

    &:hover {
      background-color: $widget-light;
    }
  }

  &.disabled {
    pointer-events: none;
    opacity: 0.5;
  }
}

textarea.input {
  field-sizing: content;
  resize: none;
  min-height: 100px;
}
